<h1 class="pop_title"><!--新增用户资料-->{{language.TIPS_SET_ADD_USER_DATA}}</h1>
<div class="pop_cont">
    <table class="pop_table">
        <tr>
            <td class="name"><label ><!--工号-->{{language.TIPS_SET_JOB_NUMBER}}:</label></td>
            <td class="val">
                <input type="text" ng-pattern="/[0-9]/" required ng-model="userAdd.UserCode"/>
            </td>
        </tr>
        <tr>
            <td class="name"><label ><!--姓名-->{{language.TIPS_SET_NAME}}:</label></td>
            <td class="val">
                <input type="text" ng-model="userAdd.UserName" required/>
            </td>
        </tr>
        <tr>
            <td class="name"><label ><!--密码-->{{language.TIPS_SET_PASSWORD}}:</label></td>
            <td class="val">
                <input type="password" ng-model="userAdd.UserPass" required/>
            </td>
        </tr>
        <tr>
            <td class="name"><label ><!--电话-->{{language.TIPS_SET_TEL}}:</label></td>
            <td class="val">
                <input type="text" required ng-pattern="/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/" ng-model="userAdd.UserTel"/>
            </td>
        </tr>
<!--        <tr ng-show="{{purview['\/setting\/user_add_type'].show == 1}}">
            <td class="name"><label >用户类型{{language.TIPS_FINISH_USER_TYPE}}:</label></td>
            <td class="val">
                <select ng-model="userAdd.role_id" ng-options="li.role_code as li.role_name for li in user_all_type">
                    
                </select></td>
        </tr>-->
        <tr>
            <td class="name"><!--状态-->{{language.TIPS_SET_STATUS}}:</td>
            <td class="val">
                <p class="radio_wrap">
                    <input type="radio" id="ena"  ng-model="userAdd.UserStatus" value="1" />
                    <label for="ena" ng-class="{true:'curr',false:''}[userAdd.UserStatus == 1]"><!--启用-->{{language.TIPS_SET_START}}</label>
                    <input type="radio" id="dis"  ng-model="userAdd.UserStatus" value="0" />
                    <label for="dis" ng-class="{true:'curr',false:''}[userAdd.UserStatus == 0]"><!--停用-->{{language.TIPS_SET_DISABLE}}</label>
                </p></td>
        </tr>
    </table>
</div>
<p class="btn_wrap">
    <button type="button" class="btn" ng-click="addSubmit(userAdd)">
        <!--保存新增-->
        {{language.TIPS_SET_SAVE_ADD}}
    </button>
</p>
